/*
 * Nodo.h
 *
 *  Created on: Apr 29, 2012
 *      Author: Nico
 */

template <class Generic>
class Nodo{
	
	protected:
		Nodo<Generic>* next;
		Generic data;
		
	public:
		Nodo();
		~Nodo();
		
		int set_next(Nodo<Generic>*);
		int set_value(Generic);
		
		int get_next(Nodo<Generic>**);
		int get_value(Generic&);
		Generic get_value();
		
		bool has_next();
};
